#nullable disable
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Game.Data.Api;

namespace aspnetapp.Counter
{
    [ApiController]
    [Route(ApiLogin.Api)]
    public class LoginController : ControllerBase
    {
        private readonly LoginContext _context;

        public LoginController(LoginContext context)
        {
            _context = context;
        }

        [HttpGet]
        public async Task<ActionResult<ApiLoginResponse>> GetFunction()
        {
            return Ok(new ApiLoginResponse { RoleCount = 0 });
        }

        [HttpPost]
        public async Task<ActionResult<ApiLoginResponse>> PostFunction(ApiLoginRequest data)
        {
            return new ApiLoginResponse { RoleCount = 0 };
        }
    }
}
